use mini_redis::client;
use mini_redis::Result;

#[tokio::main]
async fn main() -> Result<()> {
    let mut client = client::connect("127.0.0.1:6380").await?;

    client.set("foo", "bar".into()).await?;

    let result = client.get("foo").await?;

    println!("Result: {:?}", result);
    Ok(())
}
